package com.wind.config;

import java.util.Comparator;

/**
 * Created by jiaquanzhen on 2018-08-29.
 */
public class SortByStringDouble  implements Comparator {
    public int compare(Object o1, Object o2) {
        String s1 = (String) o1;
        String s2 = (String) o2;
        if (new Double(s1) > new Double(s2))
            return 1;
        return -1;
    }
}